I think you are misunderstanding what's going on.
A document collection is just a list of Document ID's - not the contents of the documents.
- Time Line:
- Agent creates documentcollection
- Agent starts updating doc by doc
- user changes document that is also in collection
- user saves document
- agent comes to document, saved by user and saves it <--- Your agent is changing the version that was saved by the user
- changes made by the user are lost, there is even not Replication/Save Conflict
When you do your search, a list of Document ID's is returned - that's your collection.
As you loop through those ID's, the data is only loaded "in memory" when you create a NotesDocument (by GetNextDocument or GetNthDocument)
So I think that your agent is getting the document's data AFTER the user makes their changes, and it's not a save conflict.


. . No bug here (~Hank Quetamarn... 7.Oct.03) 